Counting Matchings with k Unmatched Vertices in Planar Graphs
نویسنده
چکیده
We consider the problem of counting matchings in planar graphs. While perfect matchings in planar graphs can be counted by a classical polynomial-time algorithm [26, 33, 27], the problem of counting all matchings (possibly containing unmatched vertices, also known as defects) is known to be #P-complete on planar graphs [23]. To interpolate between the hard case of counting matchings and the easy case of counting perfect matchings, we study the parameterized problem of counting matchings with exactly k unmatched vertices in a planar graph G, on input G and k. This setting has a natural interpretation in statistical physics, and it is a special case of counting perfect matchings in k-apex graphs (graphs that can be turned planar by removing at most k vertices). Starting from a recent #W[1]-hardness proof for counting perfect matchings on k-apex graphs [12], we obtain that counting matchings with k unmatched vertices in planar graphs is #W[1]-hard. In contrast, given a plane graph G with s distinguished faces, there is an O(2 · n3) time algorithm for counting those matchings with k unmatched vertices such that all unmatched vertices lie on the distinguished faces. This implies an f(k, s) · nO(1) time algorithm for counting perfect matchings in k-apex graphs whose apex neighborhood is covered by s faces.
منابع مشابه
Counting perfect matchings in graphs that exclude a single-crossing minor
A graph H is single-crossing if it can be drawn in the plane with at most one crossing. For any single-crossing graph H, we give an O(n4) time algorithm for counting perfect matchings in graphs excluding H as a minor. The runtime can be lowered to O(n1.5) when G excludes K5 or K3,3 as a minor. This is the first generalization of an algorithm for counting perfect matchings in K3,3free graphs (Li...
متن کاملCounting Subgraphs via Homomorphisms
We introduce a generic approach for counting subgraphs in a graph. The main idea is to relate counting subgraphs to counting graph homomorphisms. This approach provides new algorithms and unifies several well known results in algorithms and combinatorics including the recent algorithm of Björklund, Husfeldt and Koivisto for computing the chromatic polynomial, the classical algorithm of Kohn, Go...
متن کاملPlanar Graphs with Many Perfect Matchings and Forests
We determine the number of perfect matchings and forests in a family Tr,3 of triangulated prism graphs. These results show that the extremal number of perfect matchings in a planar graph with n vertices is bounded below by Ω ( 6 √ 7 + √ 37 n) = Ω (1.535) and the extremal number of forests contained in a planar graph with n vertices is bounded below by
متن کاملMatchings in Graphs
We know that counting perfect matchings is polynomial time when we restrict ourselves to the class of planar graphs. Generally speaking, the decision and search versions of a problem turn out to be “easier” than the counting question. For example, the problem of determining if a perfect matching exists, and finding one when it does, is polynomial time in general graphs, while the question of co...
متن کاملCounting 1-Factors in Regular Bipartite Graphs
perfect matchings. (A perfect matching or 1-factor is a set of disjoint edges covering all vertices.) This generalizes a result of Voorhoeve [11] for the case k = 3, stating that any 3-regular bipartite graph with 2n vertices has at least ( 4 3) n perfect matchings. The base in (1) is best possible for any k: let αk be the largest real number such that any k-regular bipartite graph with 2n vert...
متن کامل